<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$cparams =& JComponentHelper::getParams('com_media');
$app = JFactory::getApplication();
$templateDir = JURI::base() . 'templates/' . $app->getTemplate();
?>
<link rel="stylesheet" type="text/css" href="<?php echo $templateDir; ?>/css/vita_subpages.css" media="screen" />
<div class="main">
<div class="content">
                        <div class="innerContent"> 
                            <h2><span><span><?php echo JText::_('NEWS');?></span></span></h2>
                            <div class="fckDefault">
                              <a href="<?php echo JRoute::_('index.php?option=com_content&view=article&id=47&Itemid=54');?>" title="<?php echo JText::_('RETURN VITA');?>" class="lnkReturn"><img src="<?php echo $templateDir; ?>/images/vita/dummy.gif" alt="Return to Vita" class="uiIcon initIcon-09"/><span><?php echo JText::_('RETURN VITA');?></span></a> <br/>
                              <div id="newsBlock">

                              	<?php if ($this->params->get('num_leading_articles')) : ?>
                              	<?php for ($i = $this->pagination->limitstart; $i < ($this->pagination->limitstart + $this->params->get('num_leading_articles')); $i++) : ?>
                              	<?php if ($i >= $this->total) : break; endif; ?>
                              	<div class="newsEntry">
                              	<?php
									$this->item =& $this->getItem($i, $this->params);
									echo $this->loadTemplate('item');
								?>
								</div>
                              	<?php endfor; ?>
                              	<?php else : $i = $this->pagination->limitstart; endif; ?>
                              	<?php if ($this->params->get('show_pagination')) : ?>
                              	<?php echo $this->pagination->getPagesLinks(); ?>
                              	<?php endif; ?>
                              	<?php if ($this->params->get('show_pagination_results')) : ?>
                              	<?php echo $this->pagination->getPagesCounter(); ?>
                              	<?php endif; ?>
                              	<!--  <div id="pageNav"><a href="#">1</a> <a href="#">2</a> <a href="#">3</a> <a href="#">4</a> <a href="#">5</a> <a href="#">Last</a></div>  -->
                              </div><!-- EOF News Block-->
                            </div>
                        </div>
                </div>                                   
                </div>
